package com.bauer.framework.autumn.annotation;

import com.bauer.framework.autumn.enmus.HttpMethodEnum;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author ：rui.wei
 * @Date ：Created in 16:01 2018/7/30
 * @Description：
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequestMapper {

    String value() default "";

    HttpMethodEnum method() default HttpMethodEnum.ALL;
}
